package com.dy.lock.screen.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.dy.lock.screen.dao.HomePageRecommendDao;
import com.dy.lock.screen.pojo.HomePageRecommendInfo;
import com.dy.lock.screen.service.HomePageRecommendService;

@Service("homePageRecommendService")
public class HomePageRecommendServiceImpl implements HomePageRecommendService {

	@Resource(name = "homePageRecommendDao")
	private HomePageRecommendDao homePageRecommendDao;

	@Override
	public HomePageRecommendInfo queryByPrimartKey(String id) {
		// TODO Auto-generated method stub
		return this.homePageRecommendDao.queryByPrimartKey(id);
	}

	@Override
	public List<HomePageRecommendInfo> queryPage(
			Map<String, Object> homePageInfo) {
		List<HomePageRecommendInfo> page = this.homePageRecommendDao
				.queryT(homePageInfo);
		return page;
	}

}
